$(function () {
    const url = '/admin/data/info';

    ajax('get', url).then(res => {
        let data = [res];
        const ele = template('total', {
            data
        });
        $('#total_list').html(ele);
    })
})